/*
 * BBMUpdateInterface.java
 * 
 * Serves the same purpose as BaseScreen but in interface form. I prefer the abstract class but others may prefer an interface.
 * Use as you see fit.
 * 
 * Kyle Fowler
 * ALL KAPPS Software 2001
 */

package com.allkapps.bbmopenchat;

public interface BBMUpdateInterface {

	public static final int INVITE_ACCEPTED = 1;
	public static final int INVITE_REJECTED = 2;
	public static final int CONTACT_JOINED = 3;
	public static final int CONTACT_LEFT = 4;
	public static final int CONTACT_DECLINED = 5;
	public static final int CONTACT_INVITED = 6;
	public static final int CONTACT_REMOVED = 7;
	public static final int MESSAGE_RECEIVED = 8;
	public static final int DATA_RECEIVED = 9;
	public static final int JOIN_REQUEST_RECEIVED = 10;
	public static final int JOIN_REQUEST_CANCEL = 11;
	public static final int SESSION_ENDED = 12;
	public static final int SESSION_CREATED = 13;
	public static final int CHANNEL_CREATED = 14;
	public static final int CHANNEL_ENDED = 15;
	
	public void updateScreen(int type);
	
	public void updateScreen(int type, Object obj);
	
	public void updateScreen(int type, Object obj1, Object obj2);
}
